package com.example.tool.erp.sdk.api.sales;

import com.example.tool.erp.sdk.Pager;
import com.example.tool.erp.sdk.WdtErpException;
import com.example.tool.erp.sdk.api.sales.dto.StockOutQueryRequest;
import com.example.tool.erp.sdk.api.sales.dto.StockOutQueryResponse;
import com.example.tool.erp.sdk.api.sales.dto.StockoutQueryHistoryRequest;
import com.example.tool.erp.sdk.api.sales.dto.StockoutQueryHistoryResponse;
import com.example.tool.erp.sdk.impl.Api;

public interface StockOutAPI
{
	@Api(value = "wms.stockout.Sales.queryWithDetail", paged = true)
	StockOutQueryResponse query(StockOutQueryRequest request, Pager pager);

	@Api(value = "wms.stockout.Sales.queryHistoryWithDetail", paged = true)
	StockoutQueryHistoryResponse queryHistory(StockoutQueryHistoryRequest request, Pager pager) throws WdtErpException;
}
